package cn.schoolwow.ams.domain.block.list.dao.crud;

import cn.schoolwow.quickdao.domain.database.dql.condition.Condition;
import cn.schoolwow.quickdao.domain.database.dql.response.PageVo;
import com.alibaba.fastjson.JSONObject;

public interface DatabaseListBlockListListener {
    /**
     * 执行分页sql前
     * */
    void beforeExecuteCondition(Condition condition, JSONObject queryCondition) throws Exception;

    /**
     * 执行分页sql后
     * */
    void afterExecuteCondition(Condition condition, JSONObject queryCondition, PageVo pageVo) throws Exception;

    /**
     * 显示字段列表
     * */
    DatabaseListBlockTableField[] listTableFieldArray();
}
